﻿namespace ZenSystemService.Api.Entities
{
    /// <summary>
    /// 订单项，包含设备，数量和单价
    /// </summary>
    public class InstitutionSalesOrderItem
    {
        public int Id { get; set; }
        public int ProductTypeId { get; set; }
        public ProductType ProductType { get; set; }
        public int InstitutionSalesOrderId { get; set; }
        public decimal UnitPrice { get; set; }
        public decimal Quantity { get; set; }
        public decimal SubTotalAmount { get; set; }
        public int ValidityDays { get; set; }
        public DateTime ValidityBeginDate { get; set; }
        public DateTime ValidityEndDate { get; set; }
        //public InstitutionSalesOrder InstitutionSalesOrder { get; set; }
    }
}
